import request from "@/utils/request"

//定义公共的API
const BASE_URL = "/system/itrHotelOrder";

export default {

   //分页查询
   getHotelOrderPageInfo(page, limit, searchObj) {
    return request({
        url: `${BASE_URL}/${page}/${limit}`,
        method: 'get',
        params: searchObj
    })
    },
    //删除
    // 根据id去删除一个用户
    removeId(id) {
        return request({
            url: `${BASE_URL}/removeHotelOrder/${id}`,
            method: 'delete'
        })
    },
}